POV-Ray : Newsgroups : moray.win : Fullmoon plugin : Re: Fullmoon plugin Server Time
5 Jul 2024 09:12:54 EDT (-0400)
  Re: Fullmoon plugin  
From: Lutz Kretzschmar
Date: 9 Dec 2001 17:05:36
Message: <jtn71u009fn1qopjm2i23ms2in7ha9njmh@4ax.com>
Hi Stephen, you recently wrote in moray.win:

> How do I make sure that an object(Pov_code) is placed at the 
> top of a generated pov file? 
Well, I can't tell you how to do it in FullMoon, but the Plugin SDK
has events that say where they are in the output process. The SDk
function is PrintEvent() and you get the possibility to write to the
POV file whenever these events occur. The events are:
MRY_NTC_BEGIN_POVEXPORT - the POV scene file for POV-Ray has just been
opened. 
MRY_NTC_BEGIN_POLYEXPORT - the PI scene file for Polyray has just been
opened. 
MRY_NTC_END_EXPORT - the scene file for the raytracer is about to be
closed. 
MRY_NTC_BEGIN_CAMERAS - the cameras are about to be written to the
scene file. 
MRY_NTC_END_CAMERAS - the cameras have just been written to the scene
file. 
MRY_NTC_BEGIN_LIGHTS - the lights are about to be written to the scene
file. 
MRY_NTC_END_LIGHTS - the lights have just been written to the scene
file. 
MRY_NTC_BEGIN_TEXTURES - the textures are about to be written to the
scene include file. 
MRY_NTC_END_TEXTURES - the cameras have just been written to the scene
include file. 
MRY_NTC_BEGIN_REFERENCED_OBJS - the referenced objects are about to be
written to the scene file. 
MRY_NTC_END_REFERENCED_OBJS - the referenced objects have just been
written to the scene file. 
MRY_NTC_BEGIN_OBJECTS - the objects are about to be written to the
scene file. 
MRY_NTC_END_OBJECTS - the objects have just been written to the scene
file. 

Hope that helps.

Regards,

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.